package com.huaboot.system.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import lombok.Data;
import java.io.Serializable;
import com.huaboot.commont.utils.DateUtils;
import java.util.Date;

/**
* 测试2
*
* @author ff 1
* @since 1.0.0 2023-08-22
*/
@Data
//@Schema(description = "测试2")
public class GenTestStudentVO implements Serializable, TransPojo {
	private static final long serialVersionUID = 1L;
	@Trans(type = TransType.DICTIONARY,key = "user_gender",ref = "sexName")
	private Integer sex;

	//这个字段可以不写，实现了TransPojo接口后有一个getTransMap方法，sexName可以让前端去transMap取
	private String sexName;
	//@Schema(description = "学生ID")
	private Long id;

	//@Schema(description = "姓名")
	private String name;

	//@Schema(description = "性别")
	private Integer gender;

	//@Schema(description = "年龄")
	private Integer age;

	//@Schema(description = "班级")
	private String className;

	//@Schema(description = "版本号")
	private Integer version;

	//@Schema(description = "删除标识")
	private Integer deleted;

	//@Schema(description = "创建者")
	private Long creator;

	//@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;

	//@Schema(description = "更新者")
	private Long updater;

	//@Schema(description = "更新时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date updateTime;


}
